Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 5 - Menu Manager Reference / Menu Manager Functions
Manipulating and Accessing Menu Item Characteristics /


SetMenuItemRefCon2

NEW WITH THE APPEARANCE MANAGER

Sets additional application-specific information for a menu item.

pascal OSErr SetMenuItemRefCon2 (
                     MenuHandle inMenu,
                     SInt16 inItem,
                     SInt32 inRefCon);
inMenu
The handle to the menu structure of the menu item for which you wish to set information.
inItem
An integer representing the item number of the menu item for which you wish to set information.
inRefCon
An integer representing a reference constant with which you wish to set information.
function result
A result code; see "Result Codes".
DISCUSSION
If you have data you want to associate with a menu item in addition to that set with the SetMenuItemRefCon function, you can do so using the SetMenuItemRefCon2 function.

SEE ALSO
"Appearance Manager Gestalt Selector Constants".

GetMenuItemRefCon2.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998